package com.jhjx.wx.mp;

import com.alibaba.fastjson.JSONObject;
import com.jhjx.wx.mp.utils.HttpClientUtils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Test {
    public static void main(String[] args) {
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String sd = sdf.format(new Date(Long.parseLong(String.valueOf(1565666996))));      // 时间戳转换成时间
        System.out.println("格式化结果：" + sd);
//        JSONObject json = new JSONObject();
//        HttpClientUtils.httpPost("http://127.0.0.7:8081",json);
//        JSONObject result =  HttpClientUtils.httpGet("http://127.0.0.1:8081/api/shop/getBannerList?page=1&limit=10&picType=1");
//        System.out.println(result);
    }
}
